[INFO] cloning repository https://github.com/mutohq/Rust--event-loop-handling
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mutohq/Rust--event-loop-handling" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmutohq%2FRust--event-loop-handling", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmutohq%2FRust--event-loop-handling'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9dc1e5941a1e96bfd877ad965eff4c0e08dae421
[INFO] testing mutohq/Rust--event-loop-handling against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmutohq%2FRust--event-loop-handling" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mutohq/Rust--event-loop-handling on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mutohq/Rust--event-loop-handling
[INFO] finished tweaking git repo https://github.com/mutohq/Rust--event-loop-handling
[INFO] tweaked toml for git repo https://github.com/mutohq/Rust--event-loop-handling written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/mutohq/Rust--event-loop-handling already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 9d6f048069bd3f644ae143d530408004775e47e3fd2ef43e3fea2d2a3d1f2d0b
[INFO] running `Command { std: "docker" "start" "-a" "9d6f048069bd3f644ae143d530408004775e47e3fd2ef43e3fea2d2a3d1f2d0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d6f048069bd3f644ae143d530408004775e47e3fd2ef43e3fea2d2a3d1f2d0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d6f048069bd3f644ae143d530408004775e47e3fd2ef43e3fea2d2a3d1f2d0b", kill_on_drop: false }`
[INFO] [stdout] 9d6f048069bd3f644ae143d530408004775e47e3fd2ef43e3fea2d2a3d1f2d0b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4ca1b62460668e9c4e039775393668a7b2258ff066d2d8f66cfe11df1e637657
[INFO] running `Command { std: "docker" "start" "-a" "4ca1b62460668e9c4e039775393668a7b2258ff066d2d8f66cfe11df1e637657", kill_on_drop: false }`
[INFO] [stderr]    Compiling gcc v0.3.28
[INFO] [stderr]    Compiling libc v0.2.12
[INFO] [stderr]    Compiling eventloop v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mylib.rs:43:23
[INFO] [stdout]    |
[INFO] [stdout] 43 |      call: Option<Box<FnMut(i32)+Send>> 
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32)+Send`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]   --> src/mylib.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 |     while true {
[INFO] [stdout]    |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/mylib.rs:245:31
[INFO] [stdout]     |
[INFO] [stdout] 245 | fn add_callback<T:Send>(f:Box<FnMut(i32)>,tx:Sender<ToServe<T>>){
[INFO] [stdout]     |                               ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Receiver`, `Sender`
[INFO] [stdout]  --> src/main.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::mpsc::{Sender,Receiver};
[INFO] [stdout]   |                       ^^^^^^ ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::mpsc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]   --> src/main.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | thread::sleep_ms(200000);
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]   --> src/mylib.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | thread::sleep_ms(1000);
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/mylib.rs:258:13
[INFO] [stdout]     |
[INFO] [stdout] 258 |     thread::sleep_ms(2000);
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/mylib.rs:247:86
[INFO] [stdout]     |
[INFO] [stdout] 247 |       let temp_elem = ToServe{ fd: -1, status:1,register:false,inner:None,call: Some(f)};
[INFO] [stdout]     |                                                                                      ^ expected trait `FnMut(i32) + Send`, found trait `FnMut(i32)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Box<dyn FnMut(i32) + Send>`
[INFO] [stdout]                found struct `Box<(dyn FnMut(i32) + 'static)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `eventloop` due to 2 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4ca1b62460668e9c4e039775393668a7b2258ff066d2d8f66cfe11df1e637657", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ca1b62460668e9c4e039775393668a7b2258ff066d2d8f66cfe11df1e637657", kill_on_drop: false }`
[INFO] [stdout] 4ca1b62460668e9c4e039775393668a7b2258ff066d2d8f66cfe11df1e637657
